Enhance guest memory accessor macros so that source operands can be
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Jun 2007 14:29:53 +0000 (15:29 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Jun 2007 14:29:53 +0000 (15:29 +0100)
commitb7954cc5983140272e6a96e34e6de6e8674018e1
tree5dbeb278065b2b9ebe7b70945a240657f8ccb592
parent6f23c61e5df5a18d58e0c92d8eab24f3cb62e8d1
Enhance guest memory accessor macros so that source operands can be
pointers to const or arrays.

Only build-tested on ia64, and untested for powerpc (which, however,
is almost identical to ia64, except for an apparent bug in the original
version of __copy_field_{from,to}_guest in that the field offset was
multiplied by the field size).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/common/domctl.c
xen/common/kernel.c
xen/common/perfc.c
xen/drivers/char/console.c
xen/include/asm-ia64/guest_access.h
xen/include/asm-x86/guest_access.h
xen/include/xen/compat.h
xen/include/xen/xencomm.h